package com.kayeah82.application.avatar.qq;

import com.kayeah82.application.avatar.qq.configuration.Profiles;
import com.kayeah82.application.avatar.qq.initializer.HomeInitializer;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.ApplicationPidFileWriter;

/**
 * @author kayeah82
 * */
@SpringBootApplication(scanBasePackageClasses = {
        Profiles.class
})
public class QQAvatarApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(QQAvatarApplication.class)
                .initializers(new HomeInitializer("qq"))
                .listeners(new ApplicationPidFileWriter())
                .run(args);
    }

}
